{% extends "news/base.html" %}
{% block title %} Articles for {{ year }}/{{ month }}/{{ day }} {% endblock %}
{% block content %}
<h1>Articles for <a href="{% url 'news:index' year %}">{{ year }}</a>/<a href="{% url 'news:archive_month' year month %}">{{ month }}</a>/{{ day }}</h1>
{% for article in article_list %}
<p>headline: {{ article.headline }}</p>
<p>content: {{ article.content }}</p>
<p>By: {{ article.reporter.full_name }}</p>
<p>Published: {{ article.pub_date|date:"F j, Y" }}</p>
{% endfor %}
<a href="{% url 'news:uploadfile' %}">upload file</a>
<a href="{% url 'news:login' %}">login</a>
<a href="{% url 'news:logout' %}">logout</a>
{% endblock %}
